import { request } from '../util/request.js';

export async function login(username, password) {
    return await request({
        method: 'POST',
        url: 'http://localhost:10025/login',
        body: {
            username,
            password,
        }
    });
}